package com.bp.hearthealth.pulse.lnapps.bp_view

import android.graphics.Rect
import android.view.View
import androidx.recyclerview.widget.RecyclerView


class BPLeftAndRightItemDecoration(private val leftMargin: Int, private val rightMargin: Int) : RecyclerView.ItemDecoration() {
    override fun getItemOffsets(
        outRect: Rect,
        view: View,
        parent: RecyclerView,
        state: RecyclerView.State
    ) {
        outRect.left = leftMargin
        outRect.right = rightMargin

        // outRect.top = verticalMargin;
        // outRect.bottom = verticalMargin;
    }
}

